package com.tem.seller.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 腾木
 * @since 2023-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("seller")
@ApiModel(value="商家对象", description="")
public class Seller implements Serializable {
    private static final long serialVersionUID=90444532422331L;
    @ApiModelProperty(value = "ID")//list
    @TableId(value = "seller_id", type = IdType.AUTO)
    private Long sellerId;

    @ApiModelProperty(value = "企业")
    @TableField("sys_branch_office_id")
    private Long sysBranchOfficeId;

    @ApiModelProperty(value = "系统")
    @TableField("system_level_id")//saas
    private Long systemLevelId;

    @ApiModelProperty(value = "跟踪业务员")
    @TableField("sys_user_id")
    private Long sysUserId;

    @ApiModelProperty(value = "类型：1论证实体店 11房产中介 12论证中介 21个人店铺 22认证个人店铺")
    @TableField("seller_type")
    private Integer sellerType;

    @ApiModelProperty(value = "编码")//list  search  add edit
    @TableField("seller_num")
    private String sellerNum;

    @ApiModelProperty(value = "名称")//list  search  add edit
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "主营栏目")
    @TableField("category_path")
    private String categoryPath;

    @ApiModelProperty(value = "区域全路径")
    @TableField("region_path")
    private String regionPath;

    @ApiModelProperty(value = "状态：1激活 0失效 2待审核 3审核不通过")//list  search  add edit
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "促销状态： 0无促销 1优惠券 2打折 3团购")
    @TableField("sale_status")
    private Integer saleStatus;

    @ApiModelProperty(value = "排序：降序")//list
    @TableField("seq")
    private Integer seq;

    @ApiModelProperty(value = "简述")
    @TableField("sketch")
    private String sketch;

    @ApiModelProperty(value = "详细描述")
    @TableField("description")
    private String description;

    @ApiModelProperty(value = "搜索关键字")
    @TableField("key_words")
    private String keyWords;

    @ApiModelProperty(value = "logo图片")//list   add edit
    @TableField("logo")
    private String logo;

    @ApiModelProperty(value = "官网")
    @TableField("link_url")
    private String linkUrl;

    @ApiModelProperty(value = "信誉度积分")
    @TableField("credit_count")
    private Integer creditCount;

    @ApiModelProperty(value = "等级1-10")
    @TableField("level")
    private Integer level;

    @ApiModelProperty(value = "1普通 2优质 3粉丝 5自营  6合作")
    @TableField("tg_level")
    private Integer tgLevel;

    @ApiModelProperty(value = "购买排序")
    @TableField("buy_seq")
    private Integer buySeq;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "逻辑删除")
    @TableField("deleted")
    @TableLogic
    private Integer deleted;
}